package com.example.comtroller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Administrator on 2016/9/20/020.
 */
@RequestMapping(value = "/springmvc")
@Controller
public class Hellow {
    @RequestMapping( value = "/helloworked",method = RequestMethod.POST)
    public String hello(){
        System.out.println("helloworked");
        return "success";
    }
}
